package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

public interface OrderService {

    // 用户下单
    void submit(Order order);


    // 订单列表
    Page<Order> orderByPage(Integer pageNum, Integer pageSize, Long number, String beginTime, String endTime);


    //历史订单
    Page<Order> lsOrder(Integer pageNum, Integer pageSize);
}
